package chapter20;

public class StuScore {
    public float getScore() {
        return score;
    }
    public String getStuName() {
        return StuName;
    }
    private String StuName;

    public void setScore(float score) {
        this.score = score;
    }
    public void setStuName(String stuName) {
        StuName = stuName;
    }
    private float score;

    public StuScore(String stuName,float score){this.score=score;this.StuName = stuName;}

}
